import store from "../store"
import{GETMOVIE}from "../constens/movieConst"

export const movieAction=(data)=>{
    return ()=>{
        store.dispatch({
            type:GETMOVIE,
            data
        })
    }
}